/** 记事本 **/
import Layout from '@/layout'
const NodeRouter = {
  path: '/node',
  component: Layout,
  redirect: '/node/node_list',
  name: 'Node',
  meta: {title: '文章', icon: 'node'},
  children: [
    {
      path: 'node_list',
      component: () => import('@/views/node/index'),
      name: 'NodeList',
      meta: {title: '文章列表', icon: 'node_list'}
    },
    {
      path: 'node_create',
      component: () => import('@/views/node/createNode'),
      name: 'NodeCreate',
      meta: {title: '创建文章', icon: 'node_create'}
    },
    {
      path: 'node_info',
      component: () => import('@/views/node/nodeInfo'),
      name: 'NodeInfo',
      hidden: true
    }
  ]
}
export default NodeRouter
